import request from '../util/request'

export function redeem(code) {
    return request({
        url: '/redeemCode/redeem',
        method: 'get',
        params: {
            redeem: code
        }
    })
}